Conditions | 2 |
Paths | 2 |
Total Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | /* |
||
10 | module.exports = function (name) { |
||
11 | if (name.indexOf('cli-') < 0) { |
||
12 | name = '@includable/cli-' + name |
||
13 | } |
||
14 | |||
15 | uninstall(name, { |
||
16 | cwd: Plugins.directory, |
||
17 | noShrinkwrap: true, |
||
18 | production: true, |
||
19 | noBinLinks: true, |
||
20 | save: true |
||
21 | }, function (err) { |
||
22 | if (err) { |
||
23 | output.errSimple(err.message) |
||
24 | } |
||
25 | }) |
||
26 | } |
||
27 |